#include <QtGui/QIcon>
#include <QMetaObject>
#include "ui_mainwindow.h"

// http://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html

void setIcons(Ui::MainWindow *ui)
{
    ui->prevButton->setIcon(QIcon::fromTheme("media-skip-backward"));
    ui->playButton->setIcon(QIcon::fromTheme("media-playback-start"));
    ui->stopButton->setIcon(QIcon::fromTheme("media-playback-stop"));
    ui->nextButton->setIcon(QIcon::fromTheme("media-skip-forward"));
}

void setIconsPause(Ui::MainWindow *ui)
{
    ui->playButton->setIcon(QIcon::fromTheme("media-playback-pause"));
}

void setIconsPlay(Ui::MainWindow *ui)
{
    ui->playButton->setIcon(QIcon::fromTheme("media-playback-start"));
}
